package com.jingxuan.dto.request;

import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
public class ProductsKeywordSearchRequest {

    @NotBlank(message = "关键字不能为空")
    private String keyword;

    private Integer platformId = 1;

    @Min(value = 1, message = "页码必须大于等于1")
    private Integer page = 1;

    @Min(value = 1, message = "分页大小必须大于等于1")
    private Integer pageSize = 20;
}

